package com.ziroom.client;

public class ConfigData  implements java.io.Serializable {

	private static final long serialVersionUID = 4604279542325319222L;

	private java.lang.String flag;

    private java.lang.String houseCode;

    private java.lang.String itemBrand;

    private java.lang.String itemCode;

    private java.lang.String itemDesc;

    private java.lang.String itemName;

    private java.lang.Integer itemNum;

    private java.lang.String itemSpac;

    private java.lang.String itemType;

    private java.lang.String itemUnit;

    private java.lang.String itemUseYears;

    private java.lang.String pictUrl;

    private java.lang.String roomCode;

    private java.lang.Integer sysHouseId;

    private java.lang.Integer sysRoomId;

    public ConfigData() {
    }

    public ConfigData(
           java.lang.String flag,
           java.lang.String houseCode,
           java.lang.String itemBrand,
           java.lang.String itemCode,
           java.lang.String itemDesc,
           java.lang.String itemName,
           java.lang.Integer itemNum,
           java.lang.String itemSpac,
           java.lang.String itemType,
           java.lang.String itemUnit,
           java.lang.String itemUseYears,
           java.lang.String pictUrl,
           java.lang.String roomCode,
           java.lang.Integer sysHouseId,
           java.lang.Integer sysRoomId) {
           this.flag = flag;
           this.houseCode = houseCode;
           this.itemBrand = itemBrand;
           this.itemCode = itemCode;
           this.itemDesc = itemDesc;
           this.itemName = itemName;
           this.itemNum = itemNum;
           this.itemSpac = itemSpac;
           this.itemType = itemType;
           this.itemUnit = itemUnit;
           this.itemUseYears = itemUseYears;
           this.pictUrl = pictUrl;
           this.roomCode = roomCode;
           this.sysHouseId = sysHouseId;
           this.sysRoomId = sysRoomId;
    }


    /**
     * Gets the flag value for this ConfigData.
     * 
     * @return flag
     */
    public java.lang.String getFlag() {
        return flag;
    }


    /**
     * Sets the flag value for this ConfigData.
     * 
     * @param flag
     */
    public void setFlag(java.lang.String flag) {
        this.flag = flag;
    }


    /**
     * Gets the houseCode value for this ConfigData.
     * 
     * @return houseCode
     */
    public java.lang.String getHouseCode() {
        return houseCode;
    }


    /**
     * Sets the houseCode value for this ConfigData.
     * 
     * @param houseCode
     */
    public void setHouseCode(java.lang.String houseCode) {
        this.houseCode = houseCode;
    }


    /**
     * Gets the itemBrand value for this ConfigData.
     * 
     * @return itemBrand
     */
    public java.lang.String getItemBrand() {
        return itemBrand;
    }


    /**
     * Sets the itemBrand value for this ConfigData.
     * 
     * @param itemBrand
     */
    public void setItemBrand(java.lang.String itemBrand) {
        this.itemBrand = itemBrand;
    }


    /**
     * Gets the itemCode value for this ConfigData.
     * 
     * @return itemCode
     */
    public java.lang.String getItemCode() {
        return itemCode;
    }


    /**
     * Sets the itemCode value for this ConfigData.
     * 
     * @param itemCode
     */
    public void setItemCode(java.lang.String itemCode) {
        this.itemCode = itemCode;
    }


    /**
     * Gets the itemDesc value for this ConfigData.
     * 
     * @return itemDesc
     */
    public java.lang.String getItemDesc() {
        return itemDesc;
    }


    /**
     * Sets the itemDesc value for this ConfigData.
     * 
     * @param itemDesc
     */
    public void setItemDesc(java.lang.String itemDesc) {
        this.itemDesc = itemDesc;
    }


    /**
     * Gets the itemName value for this ConfigData.
     * 
     * @return itemName
     */
    public java.lang.String getItemName() {
        return itemName;
    }


    /**
     * Sets the itemName value for this ConfigData.
     * 
     * @param itemName
     */
    public void setItemName(java.lang.String itemName) {
        this.itemName = itemName;
    }


    /**
     * Gets the itemNum value for this ConfigData.
     * 
     * @return itemNum
     */
    public java.lang.Integer getItemNum() {
        return itemNum;
    }


    /**
     * Sets the itemNum value for this ConfigData.
     * 
     * @param itemNum
     */
    public void setItemNum(java.lang.Integer itemNum) {
        this.itemNum = itemNum;
    }


    /**
     * Gets the itemSpac value for this ConfigData.
     * 
     * @return itemSpac
     */
    public java.lang.String getItemSpac() {
        return itemSpac;
    }


    /**
     * Sets the itemSpac value for this ConfigData.
     * 
     * @param itemSpac
     */
    public void setItemSpac(java.lang.String itemSpac) {
        this.itemSpac = itemSpac;
    }


    /**
     * Gets the itemType value for this ConfigData.
     * 
     * @return itemType
     */
    public java.lang.String getItemType() {
        return itemType;
    }


    /**
     * Sets the itemType value for this ConfigData.
     * 
     * @param itemType
     */
    public void setItemType(java.lang.String itemType) {
        this.itemType = itemType;
    }


    /**
     * Gets the itemUnit value for this ConfigData.
     * 
     * @return itemUnit
     */
    public java.lang.String getItemUnit() {
        return itemUnit;
    }


    /**
     * Sets the itemUnit value for this ConfigData.
     * 
     * @param itemUnit
     */
    public void setItemUnit(java.lang.String itemUnit) {
        this.itemUnit = itemUnit;
    }


    /**
     * Gets the itemUseYears value for this ConfigData.
     * 
     * @return itemUseYears
     */
    public java.lang.String getItemUseYears() {
        return itemUseYears;
    }


    /**
     * Sets the itemUseYears value for this ConfigData.
     * 
     * @param itemUseYears
     */
    public void setItemUseYears(java.lang.String itemUseYears) {
        this.itemUseYears = itemUseYears;
    }


    /**
     * Gets the pictUrl value for this ConfigData.
     * 
     * @return pictUrl
     */
    public java.lang.String getPictUrl() {
        return pictUrl;
    }


    /**
     * Sets the pictUrl value for this ConfigData.
     * 
     * @param pictUrl
     */
    public void setPictUrl(java.lang.String pictUrl) {
        this.pictUrl = pictUrl;
    }


    /**
     * Gets the roomCode value for this ConfigData.
     * 
     * @return roomCode
     */
    public java.lang.String getRoomCode() {
        return roomCode;
    }


    /**
     * Sets the roomCode value for this ConfigData.
     * 
     * @param roomCode
     */
    public void setRoomCode(java.lang.String roomCode) {
        this.roomCode = roomCode;
    }


    /**
     * Gets the sysHouseId value for this ConfigData.
     * 
     * @return sysHouseId
     */
    public java.lang.Integer getSysHouseId() {
        return sysHouseId;
    }


    /**
     * Sets the sysHouseId value for this ConfigData.
     * 
     * @param sysHouseId
     */
    public void setSysHouseId(java.lang.Integer sysHouseId) {
        this.sysHouseId = sysHouseId;
    }


    /**
     * Gets the sysRoomId value for this ConfigData.
     * 
     * @return sysRoomId
     */
    public java.lang.Integer getSysRoomId() {
        return sysRoomId;
    }


    /**
     * Sets the sysRoomId value for this ConfigData.
     * 
     * @param sysRoomId
     */
    public void setSysRoomId(java.lang.Integer sysRoomId) {
        this.sysRoomId = sysRoomId;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
    	if (obj == null) return false;
        
        if (!(obj instanceof ConfigData)) return false;
        ConfigData other = (ConfigData) obj;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.flag==null && other.getFlag()==null) || 
             (this.flag!=null &&
              this.flag.equals(other.getFlag()))) &&
            ((this.houseCode==null && other.getHouseCode()==null) || 
             (this.houseCode!=null &&
              this.houseCode.equals(other.getHouseCode()))) &&
            ((this.itemBrand==null && other.getItemBrand()==null) || 
             (this.itemBrand!=null &&
              this.itemBrand.equals(other.getItemBrand()))) &&
            ((this.itemCode==null && other.getItemCode()==null) || 
             (this.itemCode!=null &&
              this.itemCode.equals(other.getItemCode()))) &&
            ((this.itemDesc==null && other.getItemDesc()==null) || 
             (this.itemDesc!=null &&
              this.itemDesc.equals(other.getItemDesc()))) &&
            ((this.itemName==null && other.getItemName()==null) || 
             (this.itemName!=null &&
              this.itemName.equals(other.getItemName()))) &&
            ((this.itemNum==null && other.getItemNum()==null) || 
             (this.itemNum!=null &&
              this.itemNum.equals(other.getItemNum()))) &&
            ((this.itemSpac==null && other.getItemSpac()==null) || 
             (this.itemSpac!=null &&
              this.itemSpac.equals(other.getItemSpac()))) &&
            ((this.itemType==null && other.getItemType()==null) || 
             (this.itemType!=null &&
              this.itemType.equals(other.getItemType()))) &&
            ((this.itemUnit==null && other.getItemUnit()==null) || 
             (this.itemUnit!=null &&
              this.itemUnit.equals(other.getItemUnit()))) &&
            ((this.itemUseYears==null && other.getItemUseYears()==null) || 
             (this.itemUseYears!=null &&
              this.itemUseYears.equals(other.getItemUseYears()))) &&
            ((this.pictUrl==null && other.getPictUrl()==null) || 
             (this.pictUrl!=null &&
              this.pictUrl.equals(other.getPictUrl()))) &&
            ((this.roomCode==null && other.getRoomCode()==null) || 
             (this.roomCode!=null &&
              this.roomCode.equals(other.getRoomCode()))) &&
            ((this.sysHouseId==null && other.getSysHouseId()==null) || 
             (this.sysHouseId!=null &&
              this.sysHouseId.equals(other.getSysHouseId()))) &&
            ((this.sysRoomId==null && other.getSysRoomId()==null) || 
             (this.sysRoomId!=null &&
              this.sysRoomId.equals(other.getSysRoomId())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getFlag() != null) {
            _hashCode += getFlag().hashCode();
        }
        if (getHouseCode() != null) {
            _hashCode += getHouseCode().hashCode();
        }
        if (getItemBrand() != null) {
            _hashCode += getItemBrand().hashCode();
        }
        if (getItemCode() != null) {
            _hashCode += getItemCode().hashCode();
        }
        if (getItemDesc() != null) {
            _hashCode += getItemDesc().hashCode();
        }
        if (getItemName() != null) {
            _hashCode += getItemName().hashCode();
        }
        if (getItemNum() != null) {
            _hashCode += getItemNum().hashCode();
        }
        if (getItemSpac() != null) {
            _hashCode += getItemSpac().hashCode();
        }
        if (getItemType() != null) {
            _hashCode += getItemType().hashCode();
        }
        if (getItemUnit() != null) {
            _hashCode += getItemUnit().hashCode();
        }
        if (getItemUseYears() != null) {
            _hashCode += getItemUseYears().hashCode();
        }
        if (getPictUrl() != null) {
            _hashCode += getPictUrl().hashCode();
        }
        if (getRoomCode() != null) {
            _hashCode += getRoomCode().hashCode();
        }
        if (getSysHouseId() != null) {
            _hashCode += getSysHouseId().hashCode();
        }
        if (getSysRoomId() != null) {
            _hashCode += getSysRoomId().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(ConfigData.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://webservice.ziroom.cn/", "configData"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("flag");
        elemField.setXmlName(new javax.xml.namespace.QName("", "flag"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("houseCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "houseCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemBrand");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemBrand"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemDesc");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemDesc"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemNum");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemNum"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemSpac");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemSpac"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemType");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemUnit");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemUnit"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemUseYears");
        elemField.setXmlName(new javax.xml.namespace.QName("", "itemUseYears"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("pictUrl");
        elemField.setXmlName(new javax.xml.namespace.QName("", "pictUrl"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("roomCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "roomCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("sysHouseId");
        elemField.setXmlName(new javax.xml.namespace.QName("", "sysHouseId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("sysRoomId");
        elemField.setXmlName(new javax.xml.namespace.QName("", "sysRoomId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
